$OpenBSD: patch-configure_ac,v 1.7 2014/12/23 09:39:39 ajacoutot Exp $

XXX: Short cut check for shm_open(3).
Remove when/if we have librt.

--- configure.ac.orig	Thu Dec 18 11:33:15 2014
+++ configure.ac	Tue Dec 23 10:17:58 2014
@@ -1719,6 +1719,9 @@ AG_GST_CHECK_FEATURE(SHM, [POSIX shared memory source 
             AC_DEFINE(HAVE_OSX,[1],[Apple Mac OS X operating system detected])
             HAVE_SHM=yes
             ;;
+	*-*-openbsd*)
+	    HAVE_SHM=yes
+	    ;;
         *)
             AC_CHECK_LIB([rt], [shm_open],
                 AC_CHECK_DECL([MSG_NOSIGNAL], HAVE_SHM=yes, HAVE_SHM=no, [
